#!/bin/bash
# -z 要在前面
if [ -z $1  ];then
    echo "请输入账号"
elif [ $USER = $1 ];then
    echo "登录成功"
elif [ "admin" = $1 ];then
    echo "管理员登录"
else 
    echo "登录失败"
fi